@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  .lofi-border {
    border: 2px dashed #8b7d6b;
    border-radius: 4px;
  }
  
  .lofi-btn {
    background-color: #f9f6ef;
    border: 2px solid #8b7d6b;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    font-family: 'Courier New', monospace, 'Comic Sans MS', cursive;
    color: #4a443a;
    box-shadow: 3px 3px 0px #8b7d6b;
  }
  
  .lofi-btn:hover {
    background-color: #f5f1e6;
  }
  
  .lofi-btn:active {
    box-shadow: 1px 1px 0px #8b7d6b;
    transform: translate(2px, 2px);
  }
  
  .lofi-card {
    background-color: #f9f6ef;
    border: 2px dashed #8b7d6b;
    border-radius: 4px;
    padding: 16px;
    font-family: 'Courier New', monospace, 'Comic Sans MS', cursive;
    color: #4a443a;
    box-shadow: 4px 4px 0px rgba(139, 125, 107, 0.3);
  }
  
  .noise-bg {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  }
  
  .handwritten {
    font-family: 'Comic Sans MS', cursive, sans-serif;
  }
  
  .bg-lofi-beige {
    background-color: #f5f1e6;
  }
  
  .bg-lofi-light {
    background-color: #f9f6ef;
  }
  
  .bg-lofi-brown {
    background-color: #8b7d6b;
  }
  
  .text-lofi-dark {
    color: #4a443a;
  }
  
  .text-lofi-accent {
    color: #b85c38;
  }
  
  .text-lofi-brown {
    color: #8b7d6b;
  }
  
  .border-lofi-brown {
    border-color: #8b7d6b;
  }
}